package com.hello.pet;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
@MapperScan(basePackages = {"com.hello.pet.service.app.mapper","com.hello.pet.service.system.mapper"})
public class PetApplication {

    public static void main(String[] args) {
        SpringApplication.run(PetApplication.class, args);
        log.info("--------------------------------------------------------------------------");
        log.info("--------------------Successful launch! Let's take off!--------------------");
        log.info("-- Go To The Swagger Address: http://localhost:1010/pet/swagger-ui.html --");
        log.info("--------------------------------------------------------------------------");
    }

}
